import { defineStore } from 'pinia'
import {ref} from "vue";

export const useAddressStore=defineStore(
    'address-store',()=>{
        const DefautAddress=ref([])

        const getAddress=( Address )=>{
           DefautAddress.value=Address
        }

        return{
            DefautAddress,
            getAddress
        }
    },
    {
        persist: true
    }
    )
